package com.ytjj.qmyx.supplychain.service.Impl;

import com.ytjj.qmyx.supplychain.common.api.CommonPage;
import com.ytjj.qmyx.supplychain.common.model.request.FreigRequest;
import com.ytjj.qmyx.supplychain.common.model.request.YxAssignFreight;
import com.ytjj.qmyx.supplychain.common.model.request.YxAstrictRegion;
import com.ytjj.qmyx.supplychain.common.model.request.YxFreightTemplate;
import com.ytjj.qmyx.supplychain.common.model.response.YxFreightTemplateResponse;

public interface FreightTemplateService {

    CommonPage selectFreightTemplatePage(FreigRequest freigRequest);

    Integer insertFreightTemplate(YxFreightTemplate yxFreightTemplate);

    YxFreightTemplateResponse selectFreightTemplateResponse(Integer id);

    Integer deleteFreightTemplate(Integer id);

    Integer deleteAssignFreight(Integer id);

    Integer deleteAstrictRegion(Integer id);

    Integer updataAssignFreight(YxAssignFreight yxAssignFreight);

    Integer updataAstrictRegion(YxAstrictRegion yxAstrictRegion);

    Integer updataFreightTemplate(YxFreightTemplate yxFreightTemplate);

    Integer updateDfaults(Integer id);
}
